-- =============================================
-- Author:		Rodrigo Martins
-- Create date: 01/10/2013
-- Description:	Inserir Evento
-- =============================================
CREATE PROCEDURE ai_sp_inserirExercicio
	@id int,
	@id_acaddemia int,
	@descricao varchar(255)
	
	
AS
BEGIN

	INSERT INTO [Exercicio]
           ([id]
           ,[id_academia],
		   [descricao]
		   )
     VALUES
           (@id
           ,@id_descricao
		   ,@descricao
           )

   select @id = @@IDENTITY

END
GO
